package com.boesch.electroOffice.model.electroOffice;

import java.io.Serializable;
import java.util.List;

import org.joda.time.LocalDate;

/**
 * A POJO Plain old java object for electroOffice measure.
 * measure is used in appointments. Every time a appointment is finished,
 * the electrician has to fill out a measure form for the installation.
 * 
 * @author Ralph Koster
 *
 */
public class Measurement extends AbstractModel implements Serializable {

	private static final long serialVersionUID = 7548336816832893151L;

	private List<MeasurementEntry> measurementEntries;
	private LocalDate measurementDate;
	private String object;
	private String energyMeterNumber; //Zähler Nummer
	private String location;
	private long lrUserId;

	public List<MeasurementEntry> getMeasurementEntries() {
		return measurementEntries;
	}

	public void setMeasurementEntries(List<MeasurementEntry> measurementEntries) {
		this.measurementEntries = measurementEntries;
	}

	public LocalDate getMeasurementDate() {
		return measurementDate;
	}

	public void setMeasurementDate(LocalDate measurementDate) {
		this.measurementDate = measurementDate;
	}

	public String getObject() {
		return object;
	}

	public void setObject(String object) {
		this.object = object;
	}

	public String getEnergyMeterNumber() {
		return energyMeterNumber;
	}

	public void setEnergyMeterNumber(String energyMeterNumber) {
		this.energyMeterNumber = energyMeterNumber;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public long getLrUserId() {
		return lrUserId;
	}

	public void setLrUserId(long lrUserId) {
		this.lrUserId = lrUserId;
	}
}
